import {http} from '@/utils/request'

import type { IOrderList } from '@/types/center'


/**
 * 获取订单列表
 * @param page 页码
 * @param limit 每页显示数量
 * @returns 
 */
export const reqOrderList = (page:number,limit:number)=>{
    return http<IOrderList>(`/api/order/auth/${page}/${limit}`,'GET')
}